﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using l1cs.server.model.Instance;

namespace l1cs.server.serverpackets
{
    public class S_GMHtml : ServerBasePacket
    {
        public S_GMHtml( int _objid, String html )
        {
            writeC( Opcodes.S_OPCODE_SHOWHTML );
            writeD( _objid );
            writeS( "hsiw" );
            writeS( html );
        }

        override
        public byte[] getContent()
        {
            return getBytes();
        }

        override public String getType()
        {
            return "[S] S_GMHtml";
        }
    }
}